import { requestGet, requestPost } from "./request/request";


/**
 * 获取供应商商品订单
 * @param {*} obj
 */
export const getSupplierOrders = (obj) => {
  return requestGet("api/wechat/GetSupplierOrders", obj)
};


/**
* 供应商-接单
* @param {*} obj
*/
export const supplierAcceptOrder = (obj) => {
  return requestPost("api/wechat/supplier_AcceptOrder", obj)

};


/**
* 供应商取消订单 注: 变为已取消订单
* @param {*} obj
*/
export const supplierCancelOrders = (obj) => {
  return requestPost("api/wechat/Supplier_CancelOrders", obj);
};


/**
* 供应商-发货、取消发货
* @param {*} obj
*/
export const supplierSend = (obj) => {
  return requestPost("api/wechat/supplierSend", obj);

};


/**
* 供应商-确认收货
* @param {*} obj
*/
export const SupplierConfirmReceive = (obj) => {
  return requestPost("/api/WeChat/Supplier_ConfirmReceive", obj);

};




/**
* 供应商-取消收货(拒绝收货)
* @param {*} obj
*/
export const SupplierRefuseReceive = (obj) => {
  return requestPost("/api/WeChat/Supplier_RefuseReceive", obj);

};